g_string_append_c (str, '"');
do {
- len = strcspn (string, "\"\n\r\f");
+ len = strcspn (string, "\\\"\n\r\f");
g_string_append_len (str, string, len);
string += len;
switch (*string)
{
case '\0':
- break;
+ goto out;
case '\n':
g_string_append (str, "\\A ");
break;
string++;
} while (*string);
+out:
g_string_append_c (str, '"');
}
switch (*string)
{
case '\0':
- break;
+ goto out;
case '\n':
g_string_append (str, "\\A ");
break;
}
string++;
} while (*string);
+
+out:
+ ;
}
static const GtkCssValueClass GTK_CSS_VALUE_STRING = {
single-slash.errors\
single-slash.ref.css \
string-values.css \
+ string-values.ref.css \
test.png \
transition.css \
transition.ref.css \
--- /dev/null
+n {
+ font-family: "\A ";
+}
+
+r {
+ font-family: "\C ";
+}
+
+f {
+ font-family: "\D ";
+}
+
+a {
+ font-family: "\"";
+}
+
+b {
+ font-family: "'";
+}
+
+c {
+ font-family: "'";
+}
+
+d {
+ font-family: "\\";
+}